<script setup lang="ts">
defineEmits(['tapContacts', 'tapProjectNodes'])
</script>

<template>
  <view class="flex justify-between items-center">
    <view class="relative w-305rpx h-120rpx" @tap="$emit('tapContacts')">
      <image class="w-305rpx h-120rpx" src="@/static/images/project-card-action-0.png" />
      <view class="absolute top-50% -transform-translate-y-50% left-111rpx text-32rpx leading-32rpx text-primary font-bold">
        项目通讯录
      </view>
    </view>
    <view class="relative w-305rpx h-120rpx" @tap="$emit('tapProjectNodes')">
      <image class="w-305rpx h-120rpx" src="@/static/images/project-card-action-1.png" />
      <view class="absolute top-50% -transform-translate-y-50% left-111rpx text-32rpx leading-32rpx text-primary font-bold">
        项目节点
      </view>
    </view>
  </view>
</template>
